home *** CD-ROM | disk | FTP | other *** search
/ Apple Developer Connection 1998 Fall: Game Toolkit / Disc.iso / MPW / Note_on_Bug_in_MrC[pp] < prev   
Encoding:
Text File  |  1998-06-25  |  1.0 KB  |  20 lines  |  [TEXT/ttxt]

  1. A Note on a Bug in MrC[pp]
  2.  
  3. After the preparation of the current Developer CD, a serious bug
  4. has been identified in the 4.1.0d2  prerelease versions of the MrC[pp]
  5. compilers.  This bug appears only under the -opt speed and 
  6. -opt size options and results in incorrect code involving conditional 
  7. statements.  The bug may not manifest itself very often: it did not 
  8. appear in the compiler tests used to validate MrC[pp], but did appear in 
  9. building a new version of the standard C library (see below).  The bug has
  10. already been fixed, but not in time to replace the current versions of
  11. MrC[pp] on this release.  New versions of the MrC[pp] compilers and
  12. associated libraries will be appearing on the MPW web site shortly.
  13.  
  14. The bug found in the StdCLib 3.5d7 library is in the %g format specifier to
  15. the printf family of functions in <stdio.h>.  According to the C Standard,
  16. in %g format, "trailing zeros are removed from the fractional portion of
  17. the result."  This step is being skipped in this library.  This behavior will
  18. be fixed in the next release.
  19.  
  20.